module.exports = app => {
  const demoError = require("../controllers/demoError.controller.js");

  var router = require("express").Router();

  router.get("/GET_200", demoError.success);
  router.get("/GET_404", demoError.Error404);
  router.get("/GET_500", demoError.Error500);
  router.get("/GET_TIMEOUT", demoError.ErrorTimout);

  app.use('/api/demoError', router);
};
